const data = [
    {
        year: 2022,
        season: 2, // 7-9
        month: '06',
        is_folder: 0,
        update_time: 165222222232,
        alias: 'zhangsan',
    },
    {
        year: 2022,
        season: 2, // 7-9
        month: '06',
        is_folder: 0,
        update_time: 165222222232,
        alias: 'zhangsan',
    },
    {
        year: 2022,
        season: 2, // 7-9
        month: '06',
        is_folder: 0,
        update_time: 165222222232,
        alias: 'zhangsan',
    },
    {
        year: 2022,
        season: 2, // 7-9
        month: '06',
        is_folder: 0,
        update_time: 165222222232,
        alias: 'zhangsan',
    },
];

const operator = '>';
const result = `data.filter(item => item.season ${ operator } 2)`;
